package com.codedancer.campus.client.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codedancer.campus.client.service.bo.confessionalWallComment.CommentAddBo;
import com.codedancer.campus.client.service.bo.confessionalWallComment.ConfessionalWallCommentPageSearchBo;
import com.codedancer.campus.client.service.vo.confessionalWallComment.ConfessionalWallCommentVo;

public interface IConfessionalWallCommentService {

  /**
   * 表白墙评论
   *
   * @param commentAddBo
   */
  void add(CommentAddBo commentAddBo);

  /**
   * 分页查询表白墙父级评论
   *
   * @param confessionalWallCommentPageSearchBo
   * @return
   */
  IPage<ConfessionalWallCommentVo> pageParentComment(
      ConfessionalWallCommentPageSearchBo confessionalWallCommentPageSearchBo);

  /**
   * 表白墙回复
   *
   * @param commentAddBo
   */
  void reply(CommentAddBo commentAddBo);

  /**
   * 分页查询该评论下子集评论
   *
   * @param confessionalWallCommentPageSearchBo
   * @return
   */
  IPage<ConfessionalWallCommentVo> pageChildrenComment(
      ConfessionalWallCommentPageSearchBo confessionalWallCommentPageSearchBo);

  /**
   * 删除评论
   * @param confessionalWallCommentUuid
   */
  void delete(String confessionalWallCommentUuid);
}
